using System.Collections.Generic;

namespace NExt.form
{
    public class CheckboxGroup : CheckboxGroup<CheckboxGroupEvents>
    {
    }

    public abstract class CheckboxGroup<TEvents> : Field<TEvents>
        where TEvents : CheckboxGroupEvents, new()
    {
        protected CheckboxGroup()
        {
            items = new List<object>();
        }

        public bool? allowBlank { get; set; }
        public string blankText { get; set; }
        public object columns { get; set; }
        public IList<object> items { get; set; }
        public bool? vertical { get; set; }
    }

    public class CheckboxGroupEvents : FieldEvents
    {
    }
}